﻿using System.Text.Json.Serialization;

namespace SMCL.Core.Utils.Auth.Json
{
    internal class Token
    {
        [JsonInclude, JsonPropertyName("token_type")]
        public string TokenType { get; set; }
        [JsonInclude, JsonPropertyName("scope")]
        public string Spoce { get; set; }
        [JsonInclude, JsonPropertyName("expires_in")]
        public int ExpiresIn { get; set; }
        [JsonInclude, JsonPropertyName("ext_expires_in")]
        public int ExtExpriesIn { get; set; }
        [JsonInclude, JsonPropertyName("access_token")]
        public string AccessToken { get; set; }
        [JsonInclude, JsonPropertyName("refresh_token")]
        public string RefreshToken { get; set; }
    }
}
